package com.ny.service.Impl;

import com.ny.dao.ProductDao;
import com.ny.dao.lmpl.ProductDaoImpl;
import com.ny.entity.Product;
import com.ny.service.ProductService;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

public class ProductServiceImpl implements ProductService {
   public ProductDao productDao= (ProductDao) new ProductDaoImpl();

    public ProductServiceImpl() throws SQLException, ClassNotFoundException {
    }

    @Override
    public List<Product> findAllProduct() throws Exception {
        return  new ArrayList<>();
    }

    @Override
    public Product deleteProduct(String name) {
        return null;
    }
}
